package com.supermap.data.modal;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

/**
 * 公告与汇总信息管理表
 * TUser entity. @sun'f
 */
@Entity
@Table(name = "T_NOTICE_DATA")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class TNoticeData {

    /**
     * 主键
     */
    private String id;
    /**
     * 调查对象汇总表ID
     */
    private String object_id;
    /**
     * 汇总指标ID
     */
    private String index_id;
    /**
     * 汇总分组ID
     *
     */
    private String classify_id;


    public TNoticeData() {
    }

    public TNoticeData(String id, String object_id, String index_id, String classify_id) {
        this.id = id;
        this.object_id = object_id;
        this.index_id = index_id;
        this.classify_id = classify_id;
    }

    @Id
    @GeneratedValue(generator = "uuid")
    @GenericGenerator(name = "uuid", strategy = "uuid")
    @Column(name = "ID")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "OBJECT_ID")
    public String getObject_id() {
        return object_id;
    }

    public void setObject_id(String object_id) {
        this.object_id = object_id;
    }

    @Column(name = "INDEX_ID")
    public String getIndex_id() {
        return index_id;
    }

    public void setIndex_id(String index_id) {
        this.index_id = index_id;
    }

    @Column(name = "CLASSIFY_ID")
    public String getClassify_id() {
        return classify_id;
    }

    public void setClassify_id(String classify_id) {
        this.classify_id = classify_id;
    }
}
